package com.example.logistics_oa.dubbo;

import com.example.comment_oa.dubbo.ChaBuTieDubbo;
import com.example.comment_oa.pojos.JobcorresSubsidy;
import com.example.logistics_oa.service.JobcorresSubsidyService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@DubboService(version = "1.0.0",protocol = "${dubbo.protocol.id}",
        application = "${dubbo.application.id}",registry = "${dubbo.registry.id}",
        timeout = 3000)
public class ChaBuTieDubboImpl implements ChaBuTieDubbo {

    @Resource
    JobcorresSubsidyService jobcorresSubsidyService;

    @Override
    public List<JobcorresSubsidy> selectBuTieXiangQingAnd(int jcsJobid, int jcsDepartmentid) {
        return jobcorresSubsidyService.selectBuTieXiangQingAnd(jcsJobid,jcsDepartmentid);
    }
}
